#include "mainwindow.h"

#include <QtGui/QApplication>
#include <QTextCodec>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    MainWindow mainWindow;

    QTextCodec *codec = QTextCodec::codecForName("UTF-8");

               QTextCodec::setCodecForLocale(codec);
               QTextCodec::setCodecForCStrings(codec);
               QTextCodec::setCodecForTr(codec);

    mainWindow.setOrientation(MainWindow::ScreenOrientationLockLandscape);
    mainWindow.showExpanded();

    return app.exec();
}
